// Decompiled by DJ v2.9.9.60 Copyright 2000 Atanas Neshkov  Date: 2010-5-13 14:11:47
// Home Page : http://members.fortunecity.com/neshkov/dj.html  - Check often for new version!
// Decompiler options: packimports(3) 
// Source File Name:   AuthoritiesDao.java

package com.stnet.dao.enterprice.system;

import java.util.List;

import com.modules.commons.Pager;
import com.stnet.entity.Authorities;
import com.stnet.entity.AuthoritiesBean;

public interface AuthoritiesDao
{

    public abstract Authorities get(Long long1);

    public abstract void save(Authorities authorities);

    public abstract void update(Authorities authorities);

    public abstract void delete(Authorities authorities);

    public abstract void delete(Long long1);

    public abstract List findAll();

    public abstract boolean isNameUnique(String s);

    public abstract boolean isDisplayNameUnique(String s);

    public abstract List findAuthoritiesByTypeId(Long long1);

    public abstract Pager getObjectListByClass(int i, int j, String s);

    public abstract List getInfoByClassAndSize(String s, Long long1, Long long2, String s1, String s2, String s3, Long long3, 
            String s4);
    
    public Authorities getByName(String name);
    
    public Pager findAuthoritiesByType(int pageSize, int pageNo,String state,String type);
    
    public List findAuthorities(String type,String salesDirect);
    
    public List<AuthoritiesBean> findAuthoritiesByRose(String type,String salesDirect,Long roseid);
}